package com.cakemallproject.pojo.mapperObj;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Orders {
    private Integer oid;
    private Integer uid;
    private BigDecimal total;
    private String remark;
    private String name;
    private String phone;
    private String address;
    private Integer completionStatus;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private Integer status;

    @Override
    public String toString() {
        return "Order{" +
                "oid=" + oid +
                ", uid=" + uid +
                ", total=" + total +
                ", name='" + name + '\'' +
                ", phone='" + phone + '\'' +
                ", address='" + address + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", status=" + status +
                '}';
    }
}
